package com.itcast.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itcast.dao.TbUserDao;
import com.itcast.entity.TbUser;
import com.itcast.service.TbUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * (TbUser)表服务实现类
 *
 * @author makejava
 * @since 2020-11-09 16:32:59
 */
@Service("tbUserService")
public class TbUserServiceImpl extends ServiceImpl<TbUserDao, TbUser> implements TbUserService {
    @Autowired
    TbUserDao tbUserDao;
    public List<TbUser> findAllUser() {
        List<TbUser> users = tbUserDao.selectList(null);
        return users;
    }


}